﻿using SqlSugar;

namespace WebAssistant.BusinessLogic.Model
{
    [SugarTable("products")]
    public class Products
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        [SugarColumn(ColumnName = "product_id")]
        public int ProductId { get; set; }

        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }

        
        [SugarColumn(ColumnName = "display_name", IsNullable = true)]
        public string DisplayName { get; set; }

        [SugarColumn(ColumnName = "product_tmpl_id")]
        public int ProductTmplId { get; set; }

    }
}
